package com.zhihuishu.micro.course.openapi.app.dto;

import java.io.Serializable;
import java.util.List;

public class LessonWebDto implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id; // 节ID

    private String name; // 节名称

    private Integer rank; // 节序号

    private Long videoId; // 节关联视频ID

    private Integer videoSec; // 视频时长(秒)

    private Integer chapterId; // 节所属章ID

    private Long courseId;// 课程id

    private String speaker;// 主讲人

    private String introduction; // 节简介

    private Boolean haveChildren; // 是否包含子节(小节)

    private Integer knowledgeCardTotal; // 知识卡数量

    private Integer courseDataTotal; // 课程资料数量

    private Integer originRank;// 初始位置

    private Integer targetRank;// 排序后位置

    private List<LessonVideoWebDto> lessonVideos;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getRank() {
        return rank;
    }

    public void setRank(Integer rank) {
        this.rank = rank;
    }

    public Long getVideoId() {
        return videoId;
    }

    public void setVideoId(Long videoId) {
        this.videoId = videoId;
    }

    public Integer getChapterId() {
        return chapterId;
    }

    public void setChapterId(Integer chapterId) {
        this.chapterId = chapterId;
    }

    public Integer getKnowledgeCardTotal() {
        return knowledgeCardTotal;
    }

    public void setKnowledgeCardTotal(Integer knowledgeCardTotal) {
        this.knowledgeCardTotal = knowledgeCardTotal;
    }

    public Integer getCourseDataTotal() {
        return courseDataTotal;
    }

    public void setCourseDataTotal(Integer courseDataTotal) {
        this.courseDataTotal = courseDataTotal;
    }

    public List<LessonVideoWebDto> getLessonVideos() {
        return lessonVideos;
    }

    public void setLessonVideos(List<LessonVideoWebDto> lessonVideos) {
        this.lessonVideos = lessonVideos;
    }

    public Boolean getHaveChildren() {
        return haveChildren;
    }

    public void setHaveChildren(Boolean haveChildren) {
        this.haveChildren = haveChildren;
    }

    public Integer getVideoSec() {
        return videoSec;
    }

    public void setVideoSec(Integer videoSec) {
        this.videoSec = videoSec;
    }

    public Long getCourseId() {
        return courseId;
    }

    public void setCourseId(Long courseId) {
        this.courseId = courseId;
    }

    public String getSpeaker() {
        return speaker;
    }

    public void setSpeaker(String speaker) {
        this.speaker = speaker;
    }

    public String getIntroduction() {
        return introduction;
    }

    public void setIntroduction(String introduction) {
        this.introduction = introduction;
    }

  

  
    public Integer getOriginRank() {
        return originRank;
    }

    public void setOriginRank(Integer originRank) {
        this.originRank = originRank;
    }

    public Integer getTargetRank() {
        return targetRank;
    }

    public void setTargetRank(Integer targetRank) {
        this.targetRank = targetRank;
    }

    @Override
    public String toString() {
        return "LessonWebDto [id=" + id + ", name=" + name + ", rank=" + rank + ", videoId=" + videoId
                + ", videoSec=" + videoSec + ", chapterId=" + chapterId + ", courseId=" + courseId
                + ", speaker=" + speaker + ", introduction=" + introduction + ", haveChildren="
                + haveChildren + ", knowledgeCardTotal=" + knowledgeCardTotal + ", courseDataTotal="
                + courseDataTotal + ", originRank=" + originRank + ", targetRank=" + targetRank
                + ", lessonVideos=" + lessonVideos + "]";
    }
    

  

}
